
/* Generated by Interface Builder */

#import "SphereView.h"
#import "SphereControl.h"
#import "SphereDrawerObject.h"
#import <appkit/appkit.h>
#import <dpsclient/wraps.h>

@implementation SphereView

- initFrame:(const NXRect *)r
{
	[super initFrame:r];
	return self;
}

- drawSelf:(const NXRect *)r: (int)c;
{
	if ([sphereControlPtr readShadeFlag]) PSsetgray(0.333);
	else PSsetgray(1.0);
	NXRectFill(r);
	PSsetgray(0.0);
	NXFrameRect(r);
	[sphereDrawerObjectPtr computeSphere];
	return self;
}
@end
